//
//  DBManager.h
//  Model
//
//  Created by yull on 14/10/28.
//  Copyright (c) 2014年 yull. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDatabase.h"
#import "FMDatabaseQueue.h"

@interface DBManager : NSObject

@property (nonatomic, strong) NSArray *daoArray;

@property (nonatomic, strong) FMDatabaseQueue *dbQueue;

@property (nonatomic, strong) FMDatabaseQueue *collegeDbQueue;

+ (instancetype)shareInstance;

- (BOOL)openDataBaseWithPath:(NSString *)dbPath;

- (void)openDataBaseByUserId:(UInt64)userId;

- (void)closeDataBase;

@end
